package com.googlecode.smartbinding.framework.core;

import java.util.List;

/**
 * @author Iulian Dumitru
 */
public class BindingContextImpl implements BindingContext {

    private List<BindingUnit> bindings;

    public BindingContextImpl(List<BindingUnit> bindings) {
        this.bindings = bindings;
    }


    //TODO defensive copy
    @Override
    public List<BindingUnit> getBindings() {
        return bindings;
    }

}
